﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SSRSViewer
{
    partial class FloatParameterUserControl : UserControl, IParameterEditor
    {
        public FloatParameterUserControl()
        {
            InitializeComponent();
        }

        #region IParameterEditor Members

        public object EditValue        
        {
            get { return Convert.ToDecimal(txtEditValue.Text); }
            set { txtEditValue.Text = value.ToString(); }
        }
        public string Prompt
        {
            get { return lbPrompt.Text; }
            set { lbPrompt.Text = value; }
        }
        public RdlReportParameter EditingParameter { get; set; }

        #endregion
    }
}
